﻿using System.ComponentModel.DataAnnotations;

namespace Gfw.Web.Models.User
{
    /// <summary>
    /// 用户财务信息表
    /// </summary>
    public class UserFinanceModel
    {
        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "用户ID：", AutoGenerateField = false)]
        public string UserID { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "开户银行名称：")]
        public string BankName { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "银行卡号：")]
        public string BankCardNo { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "开户名：", Description = "自己的姓名")]
        public string BankUserName { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "开户行地址：")]
        public string BankAddress { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "财付通账号：")]
        public string TenPay { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "支付宝账号：")]
        public string Alipay { get; set; }
    }
}